package cn.bx.bid.service;

import cn.bx.bid.dao.RoleDao;
import cn.bx.bid.entity.Page;
import cn.bx.bid.entity.Userrole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

//M V C
@Service
public class RoleService {
	public static final int PAGE_SIZE = Page.PAGE_SIZE;
	@Autowired
	private RoleDao roleDao;

	public List<Userrole> findALL() {
		return roleDao.findALL();
	}
}